const home = (state = {
  bannerList: [],
  proList: []
}, action) => {
  switch (action.type) {
    case 'UPDATA_BANNER_LIST':
      console.log(4, action.payload)
      return { ...state, bannerList: action.payload }
    case 'UPDATA_PRO_LIST':
      return { ...state, proList: action.payload }
    default:
      return state
  }
}

export default home